﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ccit.ClassLibrary;

namespace Ccit.SysPlat.Purview
{
    /// <summary>
    /// Description: 系统平台菜单权限 -> 菜单消息对象 
    /// Author: tim 2010-03-02
    /// </summary>
    public class MsMenu
    {
        #region static attributes
        /// <summary>
        /// 程序集名称
        /// </summary>
        public static string assemblyName = "Ccit.SysPurview.dll";
        /// <summary>
        /// 类名
        /// </summary>
        public static string className = "Ccit.SysPlat.Purview.Menu";
        #endregion

        #region public attributes
        /// <summary>
        /// 菜单Id
        /// </summary>
        public string menuId { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string menuName { get; set; }

        /// <summary>
        /// 层级编码
        /// </summary>
        public string layCode { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public string orderNo { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        public string effect { get; set; }

        /// <summary>
        /// 显示标志
        /// </summary>
        public string showSign { get; set; }

        /// <summary>
        /// 菜单说明
        /// </summary>
        public string memo { get; set; }

        /// <summary>
        /// 系统标志
        /// </summary>
        public string sysSign { get; set; }

        /// <summary>
        /// 是否叶子节点
        /// </summary>
        public string isLeaf { get; set; }

        /// <summary>
        /// 权限设置标志
        /// </summary>
        public string purviewSet { get; set; }

        /// <summary>
        /// 页面路径
        /// </summary>
        public string pagePath { get; set; }

        /// <summary>
        /// 范围设定标志
        /// </summary>
        public string rangeSet { get; set; }

        /// <summary>
        /// 菜单图片
        /// </summary>
        public string imgPath { get; set; }

        /// <summary>
        /// 菜单类型(普通、权限、菜单管理菜单)
        /// </summary>
        public string menuType { get; set; }

        /// <summary>
        /// 菜单标签号
        /// </summary>
        public string menuTag { get; set; }

        /// <summary>
        /// 菜单来源类型        
        /// </summary>
        public string oriType { get; set; }

        /// <summary>
        /// 表单Id
        /// </summary>
        public string formId { get; set; }
        #endregion

        #region public extend attributes

        /// <summary>
        /// 上级菜单Id
        /// </summary>
        public string upMenuId { get; set; }

        /// <summary>
        /// 是否有子节点
        /// </summary>
        public string isHasChild { get; set; }

        /// <summary>
        /// 菜单层级(1/2/3)
        /// </summary>
        public string lay { get; set; }

        /// <summary>
        /// 页面传入的当前操作的源类型
        /// 0:当前正在通过admin进行菜单管理操作
        /// 1:当前正在通过模块装配功能添加菜单操作
        /// </summary>
        public string sourceType { get; set; }
        #endregion

        #region constructor
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public MsMenu() { }
        #endregion
    }
}
